package com.xuecheng.commons.model.vo;

import cn.hutool.core.date.DateTime;
import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import lombok.*;

import java.io.Serializable;
import java.util.Date;

/**
 * 订单
 */
@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode
public class OrdersVo implements Serializable {



    private Long id;

    /**
     * 订单号
     */
    @ExcelProperty(value = "订单号")
    private String orderNo;

    /**
     * 课程Id
     */
    @ExcelProperty(value = "课程Id")
    private Long coursePubId;

    /**
     * 课程名称
     */
    @ExcelProperty(value = "课程名称")
    private String coursePubName;

    /**
     * 用户ID
     */
    @ExcelProperty(value = "用户ID")
    private Long userId;

    /**
     * 用户名
     */
    @ExcelIgnore
    private String userName;

    /**
     * 交易价
     */
    @ExcelProperty(value = "交易价")
    private Long price;

    @ExcelProperty(value = "交易状态")
    private String statu;
    /**
     * 交易状态
     */
   @ExcelIgnore
    private Integer status;

    /*
    * 交易时间
    * */
  //private DateTime startTime;
  //private DateTime endTime;
    @ExcelProperty(value = "交易时间")
    private Date createDate;
    @ExcelProperty(value = "机构Id")
    private Long companyId;


}
